package com.wu.basic.dynamic.domain.uo;


import com.wu.framework.inner.lazy.stereotype.LazyTable;
import com.wu.framework.inner.lazy.stereotype.LazyTableField;
import com.wu.framework.inner.lazy.stereotype.LazyTableFieldUnique;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.File;

/**
 * 单词
 */
@Accessors(chain = true)
@Data
@LazyTable(tableName = "english_word")
public class EnglishWord {


    @LazyTableFieldUnique(comment = "单词")
    private String word;

    @LazyTableField(comment = "语音数据", columnType = "blob")
    private File voice;

    @LazyTableField(comment = "翻译", columnType = "text")
    private String translation;


}